package com.zhou.basespringboot2.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zx
 * @date 2019/7/9 16:31
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliyunOssProperties {
    private String appKey;
    private String appSecret;
    private String bucket;
    private String endPoint;
}
